<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
    String contextPath = request.getContextPath();
    User user = (User) request.getAttribute("user");
    
    %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.zhangyj.entitis.User"%>
<%@page import="com.zhangyj.component.ToolBar"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/common/ui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/common/ui/themes/icon.css"/>
<script type="text/javascript" src="<%=request.getContextPath() %>/common/jquery/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/common/ui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/common/form.js"></script>

<script type="text/javascript">
function uf_save() {
	Form.returnValue = "ok"
	self.close();
}
</script>
</head>
<body style="padding:0;margin: 0">
<div style="padding:1px;padding-left:5px;background:#efefef;">
		<a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconCls="icon-save" onclick="uf_save()">保存</a>
</div>

<form action="<%=contextPath %>/user/save.do">
<input type="hidden" name="model" value="edit"/>
<input type="hidden" name="userid" value="<%=user.getId() %>"/>
<%
com.zhangyj.entitis.SystemParam systemParam = com.zhangyj.entitis.SystemParam.getSystemParam(request);
out.print(systemParam.toInput());
%>
<table align="center">
	<tr>
		<td>编号</td>
		<td><input name="code" value="<%=user.getCode() %>"/></td>
	</tr>
	<tr>
		<td>用户名</td>	
		<td><input name="username" value="<%=user.getNickName() %>"/></td>
	</tr>
	
	<tr>
		<td>登录名</td>
		<td><input name="code" value="<%=user.getLgnName() %>"/></td>
	</tr>
	<tr>
		<td colspan="2" style="text-align: center">
		<input type="submit" value="保  存">
		<input type="reset" value = "取  消">
		</td>
	</tr>
</table>
</form>
</body>
</html>